home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d20
/
profile2.arc
/
AUTODRIV.LST
next >
Wrap
File List
|
1991-09-08
|
5KB
|
80 lines
▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄ ▄ ▄▄▄▄▄▄
▄█▀ ▀█▄ ██ ██ █▀ ██ ▀█ ██▀▀██ ██ ▀█▄ ██ ██ ██ █▄ ▄█ ██▀▀▀▀
███████ ██ ██ ██ ██ ██ ██ ██ ██▀█▀▀ ██ ▀██ ██▀ ██▀▀
██ ██ ██▄▄██ ██ ██████ ██▄▄▄█▀ ██ ▀█▄ ▄▄██▄▄ ▀█▀ ██████
AUTO DRIVE EXAMPLES AND IDEAS FOR
PRO-FILE PROFESSIONAL FILE SYSTEM
If you are having trouble grasping the new idea of Auto Drive and the
tremendous possiblities it offers, here are a few practical uses it has..
SITUATION: I want to set up PRO-FILE to run daily as an event from my BBS
and have it take care of everything necessary to update the file
lists automatically.
SOLUTION: PROFILE AUTO
NOTES: This is the only predefined auto drive command line. The actuall
command line you'd have to type is PROFILE Alt-CA. Of course,
if you were to go into PRO-FILE and quit without doing anything,
a lot would still have been done. When PRO-FILE loads, it
automatically checks for new files. When it exits, it automatically
generates the file lists that need to be updated. There's only
one thing missing - some of the extended info. In order to gather
all of the extended info, PRO-FILE must scan the RA activity log,
and that's what this example does. In addition, it appends the
log file to OLDRA.Log to allow you to view old logs in the future.
SITUATION: While I've got PRO-FILE set up to run as an event and take care
of everything automatically (PROFILE AUTO), I also want it to
generate a total file list users can download in the same event.
SOLUTION: PROFILE Alt-CAAlt-T2A_Alt-X
NOTES: You will need to replace the PROFILE AUTO command with the above
line. This does the same thing, but at the same time, generates
a master files list and places it in Area A where users can d/l it.
If you want PRO-FILE to place it in a different area, replace the
A after the 2 above with the other area letter.
SITUATION: I've got PRO-FILE to generate a master listing and place it in
an area for users to download, but I also want users to be able
to download a zipped version.
SOLUTION: This is a multi-stepped process:
PROFILE Alt-T2A_Alt-X
PKZip \File\Newfiles\AllFiles.Zip \File\Newfiles\AllFiles.Lst
PROFILE Alt-KANY_Alt-X
NOTES: This must be done in 3 steps. The first step should generate
the total listing in the area you want (Substitute for Area A)
(along with whatever else you want it to do). The second should
zip up the master file listing into a different file. Finally,
the third step tells PRO-FILE to update from disk from area A
(Substitute if the master list wasn't put in area A). By
updating from disk, PRO-FILE will find the new zip file and add
it automatically. It would be wise to go a step further (or
actually before) and add the file information before PRO-FILE
updates from disk for the first time. This additional step
is a one time procedure. What you would do is go into PRO-FILE
manually and add a file (Alt-A). When it asks you for the file
name, enter the zip file name. It doesn't matter what you enter
for the other information (except the descriptions). When the
update from disk is performed, PRO-FILE will enter the rest.
SITUATION: When users up/download a file, my BBS loads Filedoor or other
file transfer program. After they finish up/downloading, I
want the changes to appear in the file listings without waiting
for the daily event.
SOLUTION: PROFILE or PROFILE AUTO
NOTES: Remember, when PRO-FILE loads, it automatically scans for new
files, so the first example would take care of any uploads.
If the user downloaded any files, then you can also have the
download count incremented by the second example. The second
example scans the log file of any downloads. However, having
PRO-FILE go through every step just to add a download count is
insignificant if you have a slow machine. You may just want to
stick with the first example, which won't take but a second.